OLE.Set Function

Syntax

OLE.Set( Alias as C, Program_ID as C )

Arguments

Alias

The alias to be applied to an ActiveX control.

Program_ID

The program Id of an ActiveX control.

Description

Defines an alias for the "program id" of an ActiveX control.

Discussion

The OLE.Set() method defines an alias for the "program id" of an ActiveX control. The program Id is defined by the company that writes the ActiveX control. In the case of Internet Explorer, the program Id is "shell.explorer".

Example

a = ole.Alias_Object() 
 a.Set("MyOwnName","dhtmledit.dhtmledit") 
 h.class = "MyOwnName"
  
dim h.object as P 
 ui_modeless_dlg_box("x","{activex=100,20h}")

See Also